<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
	<meta charset="utf-8">
	<title>请假记录</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">

	<link rel="stylesheet" href="css/demo.css">
	<link rel="stylesheet" href="css/font-awesome.css">
	<link rel="stylesheet" href="css/sky-mega-menu.css">

	<link rel="stylesheet" href="css/bootstrap.css">
	<link rel="stylesheet" href="css/bootstrap-theme.css">




</head>
<body class="bg-blue">
<div class="body">
	<!-- mega menu -->
    <ul class="sky-mega-menu sky-mega-menu-anim-scale sky-mega-menu-response-to-icons">
        <!-- about -->
        <li>
            <a href="#"><i class="fa fa-lemon-o"></i>考勤管理系统</a>
        </li>

        <li class="right">
            <a href="/daka"><i class="fa fa-tags"></i>今日打卡</a>

        </li>
        <!-- contacts -->
        <li class="right">
            <a href="#_"><i class="fa fa-phone"></i>事项管理</a>
            <div class="grid-container3">
                <ul>
                    <li><a href="/leave"><i class="fa fa-briefcase"></i>请假</a></li>
                    <li><a href="/out"><i class="fa fa-briefcase"></i>外出</a></li>
                    <li><a href="/comleave"><i class="fa fa-briefcase"></i>调休</a></li>
                </ul>
            </div>
        </li>
        <!--/ contacts -->

        <!-- drop me a line -->
        <li aria-haspopup="true" class="right">
            <a href="#_"><i class="fa fa-tasks"></i>员工信息</a>
            <div class="grid-container3">
                <ul>
                    <li><a href="/info"><i class="fa fa-user"></i>个人信息</a></li>
                    <li><a href="/cal"><i class="fa fa-print"></i>打卡记录</a></li>
                    <li><a href="/logout"><i class="fa fa-chevron-circle-right"></i>注销</a></li>
                </ul>
            </div>

    </ul>
    <div class="col-lg-12"><br><br></div>
	<!--/ mega menu -->
    <div class="col-lg-4">
        <ul class="nav nav-pills nav-stacked" style="width:200px;text-align:center">

            <li class="active"><a href="/leave">请假申请</a></li>
            <li class="active"><a href="/leave2">我的请假</a></li>
        </ul>
    </div>

    <div style="margin: 20px" class="col-lg-4">
        <h3>申请状态</h3>
        <div class="progress">
            <div class="progress-bar" role="progressbar" aria-valuenow="60"
                 aria-valuemin="0" aria-valuemax="100" th:style="'width:'+${percent}+'%'">
            </div>
        </div>
        <input type="radio"  disabled="disabled" th:if="${leave.dividagree eq 0}" >
        <input type="radio"  disabled="disabled" th:if="${leave.dividagree ne 0}" checked>

        部门经理通过
        <input type="radio"  disabled="disabled" th:if="${leave.deputyagree eq 0}" >
        <input type="radio"  disabled="disabled" th:if="${leave.deputyagree ne 0}" checked>
        副总经理通过
        <input type="radio"  disabled="disabled" th:if="${leave.generalagree eq 0}">
        <input type="radio"  disabled="disabled" th:if="${leave.generalagree ne 0}" checked>
        总经理通过
        <form>
            <div class="form-group">
                <label >开始时间</label>
                <input type="text" class="form-control  col-lg-2"  th:value="${leave.lstarttime}" readonly>
            </div>
            <div class="form-group">
                <label >结束时间</label>
                <input type="text"  class="form-control "  th:value="${leave.lendtime}" readonly>
            </div>
            <div class="form-group">
                <label >请假理由</label>
                <textarea class="form-control" rows="3" th:placeholder="${leave.ldescription}" readonly></textarea>
            </div>
            <div class="form-group ">
                <label >请假类型</label>
                <select class="form-control pull-left" disabled="disabled">
                    <option th:text="${leave.ltype}"></option>

                </select>
            </div>


        </form>
    </div>
</div>


</body>


<script src="js/moment-with-locales.js"></script>
<script type="text/javascript" src="https://lib.baomitu.com/jquery/3.3.1/jquery.js"></script>
<script src="https://cdn.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js" ></script>
<script src="js/bootstrap.js"></script>
</html>